package com.aspose.cells;

import java.util.Comparator;

class zadi implements Comparator {
   public int compare(Object a, Object b) {
      HorizontalPageBreak var3 = (HorizontalPageBreak)a;
      HorizontalPageBreak var4 = (HorizontalPageBreak)b;
      if (var3.getRow() > var4.getRow()) {
         return 1;
      } else if (var3.getRow() == var4.getRow()) {
         return var3.getStartColumn() > var4.getStartColumn() ? 1 : -1;
      } else {
         return -1;
      }
   }
}
